package cn.com.pureAppApi.interceptor;

import java.util.Date;

/**
 * QQ讨论群:76989293
 * @email 2696701142@qq.com
 * @date 2018-06-12 16:51:48
 *
 */
public class RequestHeader {

	public RequestHeader(String token, String messageID, Date date,
			Integer terminal, String version, String imei, String ua,
			Integer networkOper, Integer networkStatus, String sysVersion, String outsourceSign) {
		this.token = token;
		this.messageID = messageID;
		this.date = date;
		this.terminal = terminal;
		this.version = version;
		this.imei = imei;
		this.ua = ua;
		this.networkOper = networkOper;
		this.networkStatus = networkStatus;
		this.sysVersion = sysVersion;
		this.outsourceSign = outsourceSign;
	}

	public RequestHeader() {
	}

	/**
	 * 认证token
	 */
	private String token;
	/**
	 * 用户id
	 */
	private Integer userId;

	/**
	 * 请求码
	 */
	private String messageID;

	/**
	 * 请求时间戳
	 */
	private Date date;

	/**
	 * 客户端标识1、IOS 2、Android 3、web 4、HTML5
	 */
	private Integer terminal;

	/**
	 * 客户端版本
	 */
	private String version;

	/**
	 * 客户端唯一识别号
	 */
	private String imei;

	/**
	 * 手机型号
	 */
	private String ua;

	/**
	 * 网络运营商(1、移动2联通3电信4其他)
	 */
	private Integer networkOper;
	/**
	 * 网络状态（1蜂窝、2、wifi）
	 */
	private Integer networkStatus;
	/**
	 * 手机系统版本号
	 */
	private String sysVersion;
	
	/**
	 * 外包交互sign 签名
	 */
	private String outsourceSign;
	/**
	 * 手机号
	 */
	private String telphone;
	
	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getMessageID() {
		return messageID;
	}

	public void setMessageID(String messageID) {
		this.messageID = messageID;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getTerminal() {
		return terminal;
	}

	public void setTerminal(Integer terminal) {
		this.terminal = terminal;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getUa() {
		return ua;
	}

	public void setUa(String ua) {
		this.ua = ua;
	}

	public Integer getNetworkOper() {
		return networkOper;
	}

	public void setNetworkOper(Integer networkOper) {
		this.networkOper = networkOper;
	}

	public Integer getNetworkStatus() {
		return networkStatus;
	}

	public void setNetworkStatus(Integer networkStatus) {
		this.networkStatus = networkStatus;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getSysVersion() {
		return sysVersion;
	}

	public void setSysVersion(String sysVersion) {
		this.sysVersion = sysVersion;
	}

	public String getOutsourceSign() {
		return outsourceSign;
	}

	public void setOutsourceSign(String outsourceSign) {
		this.outsourceSign = outsourceSign;
	}

	public String getTelphone() {
		return telphone;
	}

	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	

}
